//
//  LPopChangView.h
//  GardenGaugeEcg
//
//  Created by 刘映雄 on 2016/12/16.
//  Copyright © 2016年 刘映雄. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LPopChangView;

@protocol LPopChangViewDelegate <NSObject>

- (void)LPopChangView:(LPopChangView *)view;

@end

@interface LPopChangView : UIView

/**< 最后一个属性为键盘属性 */
- (instancetype)initWithFrame:(CGRect)frame AndTitle:(NSString *)title type:(UIKeyboardType)type;

/**< 没有textfield的初始化方法 */
- (instancetype)initWithFrame:(CGRect)frame AndTitle:(NSString *)title Message:(NSString *)message;

@property (nonatomic,strong) UITextField *textField;
@property (nonatomic,strong) UIButton *cancel;/**< 取消按钮 */
@property (nonatomic,strong) UIButton *sure;/**< 确认按钮 */

@property (nonatomic,strong) id<LPopChangViewDelegate> delegate;

@property(nonatomic,copy)void(^InputContentBlock)(NSString *content);
@end
